package com.homer.android.sdk.devcie.bulider;

import com.homer.android.sdk.devcie.IEspDeviceUart;
import com.homer.iot.esptouch.model.device.EspDeviceUart;


public class BEspDeviceUart implements IBEspDeviceUart
{
    /*
     * Singleton lazy initialization start
     */
    private BEspDeviceUart()
    {
    }
    
    private static class InstanceHolder
    {
        static BEspDeviceUart instance = new BEspDeviceUart();
    }
    
    public static BEspDeviceUart getInstance()
    {
        return InstanceHolder.instance;
    }
    
    /*
     * Singleton lazy initialization end
     */
    
    @Override
    public IEspDeviceUart alloc()
    {
    	IEspDeviceUart uart = new EspDeviceUart();
        return uart;
    }
}

